package mt.dummy;

import mt.Order;
import mt.comm.ClientSideMessage;

public class ClientSideMessageDummy implements ClientSideMessage {

	private Order order;
	private ClientSideMessage.Type type;
	private String error;
	
	
	public ClientSideMessageDummy(ClientSideMessage.Type type) {
		this.type = type;
	}
	
	public void setOrder(Order order) {
		this.order = order;
	}
	public void setError(String error) {
		this.error = error;
	}
	
	@Override
	public Type getType() {
		// TODO Auto-generated method stub
		return type;
	}

	@Override
	public Order getOrder() {
		// TODO Auto-generated method stub
		return order;
	}

	@Override
	public String getError() {
		// TODO Auto-generated method stub
		return error;
	}

}
